<?php
include 'conn.php';
$sql = "INSERT INTO students (uname, upwd, realname,unumber,gender,class,xingqu,mark,regtime) VALUES ('lisi', '123456', '李四',20230001,1,5,'','',".time().")";
if ($conn->query($sql) === TRUE) {
    echo "插入成功";
} else {
    echo "插入失败: " . $sql . "<br>" . $conn->error;
}
$conn->close();
?>

